package guiclient;

public class OrderTableBean {

    private long id;
    private String type;
    private String stock;
    private double price;
    private int size;
    private int remainderSize;

    public OrderTableBean(long id, String type, String stock, double price, int size, int remainderSize) {
        this.setId(id);
        this.setType(type);
        this.setStock(stock);
        this.setPrice(price);
        this.setSize(size);
        this.setRemainderSize(remainderSize);
    }


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getRemainderSize() {
        return remainderSize;
    }

    public void setRemainderSize(int remainderSize) {
        this.remainderSize = remainderSize;
    }

    public Object getStock() {
        return stock;
    }

    public void setStock(String stock) {
        this.stock = stock;
    }
}
